projects
/
dune-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
464e27a
)
[PATCH] Use GNU-extension flag to activate quadmath automatically
author
Simon Praetorius
<simon.praetorius@tu-dresden.de>
Sat, 13 Sep 2025 16:12:08 +0000
(16:12 +0000)
committer
Markus Blatt
<markus@dr-blatt.de>
Sun, 7 Dec 2025 16:19:24 +0000
(17:19 +0100)
Gbp-Pq: Name Use-GNU-extension-flag-to-activate-quadmath-automati.patch
cmake/modules/FindQuadMath.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/FindQuadMath.cmake
b/cmake/modules/FindQuadMath.cmake
index 319fb2451339239315cafa218996a9c4ec9afb34..5e19fd677722d1737b51284e1cfb6a58e5486a60 100644
(file)
--- a/
cmake/modules/FindQuadMath.cmake
+++ b/
cmake/modules/FindQuadMath.cmake
@@
-71,11
+71,4
@@
if(QuadMath_FOUND AND NOT TARGET QuadMath::QuadMath)
# Compiler supports QuadMath: Add appropriate linker flag
add_library(QuadMath::QuadMath INTERFACE IMPORTED)
target_link_libraries(QuadMath::QuadMath INTERFACE quadmath)
-
- target_compile_definitions(QuadMath::QuadMath INTERFACE
- _GLIBCXX_USE_FLOAT128
- )
- target_compile_options(QuadMath::QuadMath INTERFACE
- $<$<CXX_COMPILER_ID:GNU>:-fext-numeric-literals>
- )
endif()